Contextual network access optimizer

ABSTRACT

A method and apparatus for optimizing access to a contextual network are described. The apparatus has a registration manager module, a configuration manager module, an access manager module, and an access optimizer module. The registration manager module registers business applications operating in the contextual network of a server with registration data having a set of parameters to define the business applications. The configuration manager module determines initial configuration settings for the business applications to identify parts of the contextual network relevant to the business applications. The access manager module provides the business applications with access to contextual network data based on distances between nodes in a contextual network graph of the contextual network data. The access optimizer module collects measurements of the access of the business applications to the contextual network data, and computes future optimal configuration settings for the business applications.

FIELD

The present disclosure relates generally to data searches. In an example embodiment, the disclosure relates to optimizing access to enterprise data.

BACKGROUND

Generally, a search engine is a program that is designed to search for information from a variety of sources of data, such as the World Wide Web and File Transfer Protocol (FTP) servers. Many of these conventional search engines are designed to conduct searches based on matching of keywords. For example, a conventional search engine searches documents for keywords, which are specified by a user, and returns a list of documents where the keywords are found.

However, conventional search engines often do not take into account the semantic meaning of the keywords found in the enterprise data, such as, for example, business objects and business documents. To clarify this discussion, a “business object,” as used herein, may refer to a representation of a business entity, such as an employee or a sales order, in an enterprise system. That is, a business object is a type of entity inside the business layer in an n-layered architecture of object-oriented computer programs. A business object encompasses both the functions (in the form of methods) and the data (in the form of attributes) of this business entity.

When searching, for example, business objects, a typical search engine may simply search the attributes associated with business objects. For example, in response to receiving a query for “employees located in San Diego,” the typical search engine may return a business object of a company with a name of “San Diego Surf Shop” because the business object of the company has an attribute containing “San Diego.” However, this is not what the user wants because the business record is not an employee, nor is the company even located in San Diego. As a result, many of these conventional search engines are notoriously inaccurate at searching for enterprise data containing keywords with meanings that depend on the context of the attribute.

BRIEF DESCRIPTION OF DRAWINGS

The present disclosure is illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements and in which:

FIG. 1 is a block diagram depicting an architectural overview of a system for determining existing relationships between objects in a meta-model semantic network, in accordance with an example embodiment;

FIG. 2 is a block diagram showing a meta-model semantic network manager, in accordance with an example embodiment;

FIG. 3 is a block diagram illustrating terminology of a meta-model semantic network, in accordance with an example embodiment;

FIG. 4 is a block diagram illustrating examples of nodes and their relations, in accordance with an example embodiment, in a contextual network graph;

FIG. 5 is a table illustrating examples of distance cost and energy cost, in accordance with an example embodiment;

FIG. 6 is a block diagram illustrating an architectural overview of an access optimizer in an example of a contextual network, in accordance with an example embodiment;

FIG. 7 is a block diagram illustrating an access optimizer, in accordance with an example embodiment;

FIG. 8 depicts a flow diagram of a general overview of a method for determining existing relationships between objects in a meta-model semantic network, in accordance with an embodiment;

FIG. 9 depicts a flow diagram of a general overview of a method for determining existing relationships between objects in a meta-model semantic network, in accordance with another embodiment;

FIG. 10 depicts a flow diagram of a general overview of a method for optimizing access to a contextual network system, in accordance with one embodiment; and

FIG. 11 is a block diagram depicting a machine in the example form of a computing device within which may be executed a set of instructions for causing the machine to perform any one or more of the methodologies discussed herein.

DETAILED DESCRIPTION

The description that follows includes illustrative systems, methods, techniques, instruction sequences, and computing machine program products that embody illustrative embodiments of the present invention. In the following description, for purposes of explanation, numerous specific details are set forth in order to provide an understanding of various embodiments of the inventive subject matter. It will be evident, however, to those skilled in the art that embodiments of the inventive subject matter may be practiced without these specific details. In general, well-known instruction instances, protocols, structures and techniques have not been shown in detail.

Some embodiments described herein provide a method and apparatus for optimizing access to a contextual network. The apparatus has a registration manager module, a configuration manager module, an access manager module, and an access optimizer module. The registration manager module registers business applications operating in the contextual network of a server with registration data having a set of parameters to define the business applications. The configuration manager module determines initial configuration settings for the business applications to identify parts of the contextual network relevant to the business applications. The access manager module provides the business applications with access to contextual network data based on distances between nodes in a contextual network graph of the contextual network data. The access optimizer module collects measurements of the access of the business applications to the contextual network data, and computes future optimal configuration settings for the business applications.

Prior to discussing specific example embodiments, further descriptions of some terms are now provided for a better understanding of the descriptions set forth herein.

“Enterprise data,” as used herein, may refer to data maintained by an enterprise, such as a business, individual, group, or any other organization. Examples of enterprise data include, for example, business objects, business documents, notes, bookmarks, annotations, terminology, or any other business concept. In some embodiments, the enterprise data may be extracted from heterogeneous sources (e.g., an email database server and a purchase order database). Further, the enterprise data May be structured (e.g., type defined via a schema, such as extensible markup language (XML)) or unstructured (e.g., word documents).

As used herein, a “semantic network” may refer to a network of semantic objects connected through semantic relations. A “semantic object,” as used herein, may refer to a conceptual representation of a notion recognized by an enterprise, such as a product, person, employee, customer, business, document, case, project, business object, term, or any other suitable data. A “semantic relation,” as used herein, may refer to a relationship between two or more semantic objects. Such relationships may have attributes and a type or definition that provides a conceptual meaning to how the two or more semantic objects are related to each other.

As used herein, a “meta-model semantic network” may refer to a semantic network generated based on a meta-model of the enterprise data. A “meta-model,” as used herein, is a model that characterizes the conceptual meaning of elements of a business object definition. In turn, a “model” is a characterization of instances of enterprise data. A definition of a business object is an example of a model. The definition may model an instance by defining the attributes (e.g., an address) associated with the business object. The meta-model then models these attributes and gives meaning to attributes (e.g., an address is a location).

“Semantic information,” as used herein, may refer to information that provides conceptual meaning to enterprise data. Such semantic information may associate particular enterprise data with concepts maintained by an enterprise. For example, a collection of attributes (e.g., street, city, state, zip code, and the like) may be given a meaning of understanding (e.g., location). Such semantic information may be formally organized as “semantic object definitions” and “semantic relation definitions.”

The modern business applications require access to information defined in many systems and business objects (i,e., sources of structured information) and located in many documents (i.e., sources of unstructured information). This information together with business terminology can be reflected in a contextual network—a network which represents semantic objects and relations among them.

The contextual network may use the term “flavoring” which reflects different term meanings which may be assigned to business data.

The present disclosure attempts to improve performance functionality. For example, the solution may be implemented in an in-memory database such as SAP HANA to provide the best environment for high-performance applications. To support that, the contextual network uses unique identification of particular nodes and relations/edges. The present disclosure starts with describing “Distance in Contextual Network Graph” for modeling of uniquely identified nodes that contain the pre-calculated relations to nodes in defined relation levels. This allows for fast navigation in the contextual network because the most time-consuming operations are performed directly before the contextual network is updated (i.e., visible for the end-user). The solution builds a model that allows delivery of shortest, cheapest, or most used (see energy calculation) relations between two nodes (e.g., business objects, documents, used terminology, etc.).

However, the building of such pre-calculated structures may take time and resources. Therefore, if end users are not utilizing business applications, the building of such deep level structures may result in adverse effects (i.e., pre-calculation takes a long time and finally slows down system performance) and a decrease in overall performance.

Therefore, the presented solution attempts to define a self-learning algorithm/solution that uses the observed system data and optimizes configuration settings to achieve best possible system performance. Additionally, the solution should help a solution provider, in our situation SAP as HANA platform provider, and integrate locally measured, calculated and optimized parameters in a central place and allow distribution of the algorithm and parameters to all customer-specific systems. This means the platform may use the observer system-data to provide best practices, algorithm settings and configuration parameters to all other platform installations. In other words, customer systems may be automatically updated to improve performance of running platform applications (e.g., HANA platform performance).

FIG. 1 is a block diagram depicting an architectural overview of a system for determining existing relationships between objects in a meta-model semantic network, in accordance with an example embodiment. The networked system 100 includes a meta-model semantic network manager 110 that is in communication with a semantic network modeler 114. The meta-model semantic network manager 110 and the semantic network modeler 114 may be embodied, individually or in combination, in a computing device in the form of, for example, a personal computer, a server computer, or any other suitable computing device. In various embodiments, the computing device may be used to implement computer programs, logic, applications, methods, processes, or software to determine existing relationships between objects in a meta-model semantic network using information, as described in more detail below.

The meta-model semantic network manager 110 is designed to maintain the meta-model semantic network 116. As described above, the meta-model semantic network 116 may be a semantic network that includes semantic objects and semantic relations that provide meaning to particular enterprise data, such as, for example, business objects, business documents, notes, bookmarks, annotations, terminology, or any other business concept or enterprise data used within the enterprise. For example, John Smith, as a concept within the enterprise, may be associated with various business objects (e.g., a sales order, employee record, customer record, or any other suitable business object) and with documents created by or otherwise involving John Smith.

The meta-model semantic network manager 110 also includes a contextual network graph generator 118 that calculates information of cost and energy between nodes (described below). It also generates a unique identifier for each node and associated edge and stores the unique identifier and the information in a meta-model semantic network database.

As described above, the semantic objects and relations stored in the meta-model semantic network 116 may be based, in part, on semantic object definitions 115 and semantic relation definitions 117. Such semantic definitions may be based on a meta-model of the enterprise data. For example, the semantic network modeler 114 is a modeling tool that uses a meta-modeling based approach to generate a semantic object definition 115 and a semantic relation definition 117. The semantic object definition 115 and the semantic relation definition 117 may extend the definitions of enterprise data (e.g., business objects) at the meta-model level to provide semantic information. Such semantic information provides supplemental meaning to the elements, attributes, and relations between the business objects. As an example, the definition of an employee business object may be associated with an address. In some embodiments, such an address may be a field of the business object, and, in other embodiments, such an address may be represented by a separate business object. In this example, the semantic network modeler 114 may extend the definition of the employee definition, at the meta-model level, to give the address field the semantic meaning of location. That is, the association between the employee and the address characterizes the location of the particular employee.

In some embodiments, to assist an enterprise user in creating the semantic object definition 115 and the semantic relation definition 117, the semantic network modeler 114 may extract existing enterprise definitions stored in a business object repository 134. For example, a source of business object definitions in an SAP environment may be the SAP Enterprise Service Repository (ESR) or the SAP By-Design Model Repository. Once the business object definitions are extracted from the business object repository 134, the semantic network modeler 114 may be configured to provide, for example, a user interface to an enterprise user so that the enterprise user can model such definitions in a way that gives semantic meaning to the business objects.

The semantic network modeler 114 may be configured to send the semantic object definition 115 and the semantic relation definition 117 to the meta-model semantic network manager 110. In turn, the meta-model semantic network manager 110 may generate rule definitions, which are then sent to a text analyzer (not shown). The rule definitions may contain the tokens and expressions with its types and meta-data. For example, the rule definitions may include data derived from the semantic network modeler 114. The text analyzer uses the rule definitions to determine the terms used in documents and business objects upon receiving data. Analyzed data, in the form of objects and relations, are then sent to the meta-model semantic network manager 110 to be imported in the meta-model semantic network 116.

As described above, the meta-model semantic network 116 may store relations with enterprise data. In some embodiments, the meta-model semantic network manager 110 may receive the enterprise data through the text analyzer. The text analyzer is configured to extract enterprise data from enterprise data sources and export objects and relations to the meta-model semantic network manager 110. The text analyzer may extract enterprise data stored by enterprise systems, such as a business object stored by a business application and/or a document stored by a document storage system. The business application and the document storage system are examples of enterprise data sources. As is explained below, data derived from the business object and the document may be obtained through a crawler. Based on the rule definition, the text analyzer communicates objects and relations to the meta-model semantic network manager 110.

The business terminology and the business information may be integrated in the networked system 100, also referred to as contextual network graph.

Elements of the contextual network graph include semantic objects and semantic relations (i.e., relations between particular semantic objects) which allow defining semantically particular business objects, document, domains, terms, concepts, cases, notes, bookmarks, etc. (e.g., any kind of object that encapsulates some data and/or functionality). The semantic relation is an object defined by a respective metamodel that defines the link type, its importance (i.e., source weight—authority, see below), direction (i.e., simple/bidirectional), etc. The semantic relations also define the semantic compound relations—relation chains that allow finding experts (e.g., those who are working on particular topic, using particular terminology, etc.) relevant documents (e.g., documents describing sale of particular material, etc.), business partners (e.g., which supplier offers a material that fulfills conditions, etc.). One aspect of the present embodiment is scalability and performance of the contextual network graph.

With respect to FIG. 1, it should be appreciated that in other embodiments, the system 100 may include fewer or more components apart from those shown in FIG. 1. For example, in an alternate embodiment, the semantic network modeler 114 can be integrated within the meta-model semantic network manager 110. The components and respective modules shown in FIG. 1 may be in the form of software that is processed by a processor. In another example, as explained in more detail below, the components and respective modules shown in FIG. 1 may be in the form of firmware that is processed by application specific integrated circuits (ASIC), which may be integrated into a circuit board. Alternatively, the components and respective modules shown in FIG. 1 may be in the form of one or more logic blocks included in a programmable logic device (for example, a field programmable gate array). The components and respective modules shown in FIG. 1 may be adapted, and/or additional structures may be provided, to provide alternative or additional functionalities beyond those specifically discussed in reference to FIG. 1. Examples of such alternative or additional functionalities will be discussed in reference to the flow diagrams discussed below.

FIG. 2 is a block diagram showing a meta-model semantic network manager, in accordance with an example embodiment. The meta-model semantic network 116 includes nodes that link a term 204 to a domain 202 and a concept 206. In turn, the concept 206 may be linked to a concept type 208. Although FIG. 2 shows the nodes of the semantic network 116 as single entities, it is to be appreciated that meta-model semantic network 116 may include fewer or more nodes apart from those shown in FIG. 2. For example, a concept may be linked to one or more terms. Still further, additional and different nodes may be utilized by the meta-model semantic network 116.

The term 204 may be a word or phrase found in a business application, a document, the Internet or Web, or manually created by an end-user. The concept 206 may refer to a unit of meaning to which the term 204 refers, such as a specific idea or notion. The concept 206 groups all the terms that are used to express this idea as synonyms. For example, a product may be associated with multiple product names. Accordingly, each of the product names may be stored as separate terms in the meta-model semantic network 116, all linked to the same product concept.

The domain 202 may associate the term 204 with a particular knowledge domain used within an enterprise. A collection of terms associated with a particular domain may then define the vocabulary used to describe concepts in a knowledge domain.

The concept type 208 may be metadata that characterizes the attributes associated with the concept 206. The concept type 208 may, for example, describe the attributes associated with the concept 206 for a particular product.

The meta-model semantic network 116 may also include nodes that relate the term 204 to enterprise data, such as a user feedback object 210, document 212, and business object 214. A user feedback object 210 may be any data embedded into enterprise data to provide further contextual data to the enterprise data. Notes, bookmarks, annotations, or any other user-embedded data are examples of user feedback objects 210.

In some embodiments, the semantic relations between the term 204 and the nodes 210, 212, 214 may be influenced by a source weight 216. The source weight 216 may be a weighting factor that makes some relationships more relevant. In some embodiments, the source weight 216 may indicate that a node is more or less relevant based on the user feedback object 210. In other cases, a document 212 that merely mentions some of the attributes of a concept 206 may receive a lesser weight than a business object 214 that includes the relevant relations and attributes.

The semantic persistence database 218 may store different meta-model semantic networks 116. For example, a first meta-model semantic network may include semantic relations and semantic objects optimized to respond to queries directed to sales orders (e.g., who created a sales order, what suppliers provide a certain part, etc.), while another meta-model semantic network may include semantic relations and semantic objects optimized to respond to queries related to finding experts in a domain.

In one embodiment, the semantic persistence database 218 may include a memory-based database comprising a table generator 220 and a table definition 222. The contextual network graph may use a unique identification of particular nodes and relations/edges. Each relation may contain information about relation/edges cost (e.g., how near the objects are located in a network graph), and energy (e.g., how often the relation is used).

Because in practice the business-relevant relations between business objects, documents and business terminology (e.g., terms, concepts and knowledge domains) are not infinite, the pre-calculation of the node relations (e.g., relation chain) can be reduced to the particular level which has significant influence on the solution performance.

The table generator 220 may generate information from a contextual network graph node with a collection of relation/edge entries that contain the following information:

-   -   Source network ID: key of metamodel semantic network where the         source object is placed.     -   Target network ID: key of metamodel semantic network where the         end/target object is placed. This information allows handling of         parallel networks that may be connected by “shared elements”         elements that are defined in more networks and build a bridge         between networks).     -   Source object key: key of object where the begin/source object         is placed.     -   Target object key: key of object which is the end/target of a         particular relation chain.     -   Distance chain key: cumulated string representing the relation         chain.     -   Level relation/chain level: length of the relation chain.     -   Distance cost     -   Distance energy

The table definition 222 may include the source object key, source network ID, target object key, target network ID, distance chain key, the relation/chain level, the distance cost, and the distance energy. In addition, the table definition 222 may include respective updates for parallel networks. Such configured relation edge entries allow the determining of chains with a number of relations/edges that is double the level number. For example, if the level is set to 3, then the number of relations/edges included in the determined chain is 6 (i.e., maximum level number).

Each object is identified by a unique identifier (so-called object MAD) and supported with a memory-based database. This is because the identifier could be, for example, a 64 bit unique identifier, which fits to the memory model of a memory-based database. Therefore, the present embodiment allows compression in memory of huge data amounts and allows for fast operations. In this case, each object node and relation/edge may be located in a particular memory area of the memory addresses that can be used in the pointing/assignment mechanism and additionally reused for the hash value determination.

As FIG. 3 shows, the semantic network 300 links a term 304 to a language 302, one or more domains 306, and a concept 308. In turn, the concept 308 may be linked to a concept type 310. The links between the various components of the semantic network 300 may define the cardinality of the relationship between the components. For example, the link from the Concept 308 to the concept type 310 shows a cardinality of “1,” which is to be interpreted as an association with one and only one. Thus, the concept 308 may be linked to one and only one concept type 310. As another example, at the term end of the Term-Language link, the link shows a cardinality of “0 . . . *.” The symbol “*” is to be interpreted as any number. Thus, a language may be linked to zero or many terms.

The term 304 may be a word or phrase found in a business application, a document, the Internet or Web, or manually created by an end-user. The concept 308 may refer to a unit of meaning to which the term 304 refers, such as a specific idea or notion. The concept 308 groups all the terms that are used to express the specific idea as synonyms. For example, the terms “COLGATE,” COLGATE-PALMOLIVE,” “C-P,” and “CP” may refer to the concept of the company Colgate-Palmolive. Accordingly, “COLGATE,” “COLGATE-PALMOLIVE,” “C-P,” and “CP” are all synonyms for the Colgate-Palmolive company concept.

The domain 306 may define the knowledge domain or a particular field of knowledge. The domain 306 may group terms used within a particular context. In some cases, the concept 308 related to the term 304 may depend on the domain 306. For example, the meaning of the term Colgate may differ depending on whether the term 304 is used in the domain 306 of toothpaste rather than in the domain 306 of colleges. As FIG. 3 shows, the domain 306 may be associated with a hierarchy of domains.

The language 302 may distinguish the language that the term 304 is used in. For example, the concept 308 that term 304 relates to may depend on the language 302 associated with the term 304. For example, the term “SOY” associated with the language “SPANISH” will be distinguished from the term “SOY” associated with the language “ENGLISH.”

The concept type 310 may be metadata that characterizes the attributes associated with the concept 308. The concept type 310 may, for example, describe the attributes associated with the concept “COMPANY,” or any other suitable concept 308.

FIG. 4 is a block diagram illustrating examples of nodes and their relations, in accordance with an example embodiment, in a contextual network graph 400. For example, the contextual network graph 400 includes node A 402, node A1 404, node A2 406, node B 408, node C2 410, node C1 412, node C 414, node E 416, node E1 418, node D1 420, and node D 422.

The energy cost is illustrated between each node. For example, the energy cost between node A 402 and node A1 404 is 3 units. The energy cost between node A1 404 and node A2 406 is 5 units.

FIG. 5 is table 500 illustrating examples of distance cost and energy cost, in accordance with an example embodiment. It should be noted that the table 500 is only an excerpt from a whole table. In other words, the table 500 contains only exemplary entries which depict the possible relations for A and C elements as source objects and for third-level relation chains. The example in table 500 is to illustrate the fact that this representation allows finding of “longer” relation chains—one may navigate from A to C using the B or E1 nodes as “common” target nodes.

In other embodiments, the table contains a “full” list of relation chains from 1 to X, where the X is the configured number of chain level. The usage of parallel networks may be enabled by adding the following two elements to the table: Source network ID—key of metamodel semantic network where the source object is placed, and Target network ID—key of metamodel semantic network where the end/target object is placed—“shared elements”.

The table 500 includes entries for a source object key 502, a target object key 504, a distance chain key 506, a level 508, a distance cost 510 and an energy 512. As previously described, the source object key 502 includes a key of objects where the collection is placed. The target object key 504 includes a key of objects which are the end/target of a particular relation chain. The distance chain key 506 includes the cumulated string representing the relation chain. The level 508 includes relation/chain level (e.g., the length of the relation chain). The distance cost 510 and energy 512 respectively include the cost and energy from one node to another.

With respect to FIGS. 4 and 5, the node E 416 is linked to node B 408 via node E1 418 and node A2 406 or via node E1 418 and node C2 410. In both cases, the cost/energy are different. The cost and/or energy is 12 via nodes E1 418 and A2 406. The cost and/or energy is 21 via nodes E1 418 and C2 410.

If the distance of relations/edges between node A 402 and C 414 is to be determined, the common node is identified (node B 408 or node E1 418). In this case, the distance can be calculated or determined as a minimum level and/or a distance cost/energy where the source object key (node) is node A 402 or node C 414 and the target object key (node) is the same for node A 402 and node C 414—in this case the node B 408 and node E1 418.

The minimum cost from node A 402 to node C 414 would be the A to C chain via node E1 and the distance cost/energy would be 26 (sum of A→E1→10 and C→E1→16).

This kind of query is supported by memory-based database resulting in the result—the optimal relation between A and C with minimum level and distance cost/energy using one query call (i.e., optimal performance for distance determination call).

This model allows also the building of queries that may deliver answers to questions using the strong linking and reusing features. The present embodiment supports weighted and un-weighted relations (e.g., edges) in a contextual network graph which may represent the cost of connection. Additionally, the relation may be directional and unidirectional. This gives four combinations of relations: directed weighted edges, directed un-weighted edges, undirected weighted edges, undirected un-weighted edges.

Because the creation of the collection of relation/edge entries may take time, the creation of the entries between nodes (e.g., those containing unique identifiers of particular business object, document, used terms, responsible persons, permissions, etc.) is performed offline, e.g., as a background process. As such, a subsequent request from an end-user can be processed very fast.

If the business application (e.g., SAP business applications: ERP, CRM, SCM, etc.) and its business objects are the source of the domain-oriented knowledge, the semantic network may present their relation, e.g., a similar product, customers, etc. This is the case if respective information are imported/transferred from the business application to such defined contextual network graph.

In one embodiment, the initial value of the preconfigured level and the system administrator may adapt to the local installation requirements (e.g., used business applications and complexity, etc.).

In another embodiment, if many calls are missing because of incorrect configuration of level (e.g., current configured level is 2 but many queries can be resolved without using full network search if the level is 3) the system automatically detects such problems (e.g., cost analysis of the missing queries) and may signal the problem to the system administrator or even adapt itself automatically to the optimal level (less cost of current calls).

In another embodiment, the fast navigation to elements/nodes is supported by the usage of note references—an additional information/column near the source and target object key that helps by using memory addresses (e.g., reference pointers) in the memory database (e.g., the search objects nodes are placed in the same memory area). Any movement of the nodes in memory may need recalculation of the references and therefore the system may calculate the benefit and cost of such configuration and adapt the configuration to the local installation.

FIG. 6 is a block diagram illustrating an architectural overview of an access optimizer in an example of a contextual network, in accordance with an example embodiment. A client application 602 accesses contextual network platform 604 (SAP HANA platform). For example, the contextual network platform 604 includes an in-memory database such as HANA from SAP AG.

The contextual network platform 604 includes business applications 606 and contextual network 608. The business applications 606 access business objects and other enterprise data sources as previously described.

The contextual network 608 includes an access manager 610, an access optimizer 612, a registration manager 618, and a configuration manager 620.

The registration manager 618 registers business applications 606 operating in the contextual network of a server with registration data comprising a set of parameters to define the business applications 606. In one embodiment, the registration manager 618 allows registration of already installed and running business applications 606. The registration contains data required to determine initial application expectations; this means, a set of parameters that defines the applications, e.g. application type, relation complexity, initial distance level, etc.

The configuration manager 620 determines initial configuration settings for the business applications 606 defined by the set of parameters to identify parts of the contextual network relevant to the business applications 606. In other words, the configuration manager 620 manages current contextual network configuration with respective business application-specific requirements. For example, if the parts of the network or specific relations in the contextual network are relevant for some business applications 606, the configuration manager 620 reflects this fact in application-specific configuration settings.

The access manager 610 provides the business applications 606 with access to contextual network data comprising semantic objects and relations based on distances between nodes in a contextual network graph of the contextual network data. In particular, the access manager 610 provides optimized access to contextual network data including semantic objects and relations. In one embodiment, the access manager 610 includes a distance cache 614 and a “full” contextual network 616 (also referred to as full data). The distance cache 614 is built using the distance optimization method previously described with respect to FIG. 4.

The access optimizer 612 is configured to collect measurements of the access of the business applications 606 to the contextual network data, and to compute future optimal configuration settings for the business applications 606 based on the measurements using a feed-forward learning algorithm.

Additionally, the present disclosure helps solution providers by having a consolidated platform 622 (e.g., Central SAP HANA Platform Consolidation Instance 622). The consolidated platform 622 may include a central access optimizer 624, a configuration manager 626, and an access manager 632 having a distance cache 628 and a full contextual network 630. For example, in the situation of SAP as HANA platform provider, the locally measured, calculated and optimized parameters are consolidated in a central place. This allows distribution of the algorithm and parameters to all customer-specific systems. This means SAP may use the observer system-data to provide best practices, algorithm settings and configuration parameters to all HANA platform installations, e.g., a customer system may be automatically updated to improve running performance of HANA platform applications.

FIG. 7 is a block diagram illustrating an access optimizer 702, in accordance with an example embodiment. The access optimizer 702 includes a platform integration reporter 704, an observation manager 706, an optimization engine 708, and an integration manager 710.

The platform integration reporter 704 allows for measurement of environment elements, e.g., hardware configuration, OS configuration, CPU usage, memory usage, etc.

The observation manager 706 collects the measured execution time and resource consumption of particular actions, e.g., distance calculation, cached and “full” network access, etc.

The optimization engine 708 includes a framework that runs the supervised learning algorithm: a feed-forward neural network (FFNN) that uses the currently configured configuration parameters and observed optimization-relevant elements to calculate the optimal future settings.

The integration manager 710 supports the integration of a local contextual network with a central consolidation instance.

The initial configuration of the search engine is done by the platform provider using currently best known settings (best practices). This means, the input elements of FFNN are defined by the system provider, which defines the FFNN architecture—the number of input and output elements and number of hidden layers and initial relation weights in FFNN. The administrator may deactivate some input elements which are connected to respective observation elements and some output elements that are connected to respective configuration parameters.

The observation manager 706 collects the execution-relevant data (time and steps) of the following processes running in access manager.

Initial distance calculation—calculation of the initial distance chains (in distance cache) regarding configured distance level.

Modification distance calculation—calculation of the modified distance chains (in distance cache); this means updating the distance chains caused by the node and/or relation modification. Measurement is done regarding configured distance level.

Access to distance cache—number of requests, request time and chain length (complexity)

Access to contextual network without cache—the number, time and length for all requested chains that cannot be resolved by current distance cache and therefore must be calculated by the respective calculation method in “full” contextual network (i.e., an algorithm that operates on all nodes and relations in contextual network). Additionally, the object type is reported; this means, the type of source and target object—this helps to detect which of the object types are mostly of interest for the end-user/business application that set the request. Therefore, one may determine and define that some particular object types and relations between them are most relevant for the optimization process (i.e., they are performance critical). Therefore, the optimization may be related to the application (a performance critical business application may request its own optimization FFNN in the optimization engine) and/or optimization chains (the business expert/administrator may define chains that are optimization “critical”—most important for optimization process).

The platform integration reporter 704 and observation manager 706 may provide the following elements:

Machine type (operating system configuration);

CPU usage;

Memory consumption; and

Size of contextual network—number of nodes and relations used to approximate the network complexity.

The optimization engine 708 may provide an optimization level—the length of an optimized, pre-calculated note-chain. This means how many nodes are included in the pre-calculated chain representation in an optimized distance calculation as previously described. The application and the respective FFNN may be constructed to optimize some specific/registered chain of object types. This means that the chain is, for example, from term to purchase order business object (most requests to the chain and this chain is important for the end-user/business application). In this case, the analysis and optimization may determine different chain lengths (i.e., levels) that should be cached/optimized, then chains for other objects.

FIG. 8 depicts a flow diagram of a general overview of a method 800 for determining existing relationships between objects in a meta-model semantic network, in accordance with an embodiment.

In an example embodiment, the method 800 may be implemented by the meta-model semantic network manager 110 included in the system 100 of FIG. 1.

Referring to FIG. 8, the method 800 for determining relationships between objects in a meta-model semantic network may begin at operation 802. Then, at operation 804, the meta-model semantic network manager 110 generates a contextual network graph comprising nodes and edges representing semantic objects and semantic relationships extracted from a meta-model of business objects from the meta-model semantic network.

At operation 806, the meta-model semantic network manager 110 uses the contextual network graph to generate a unique identifier for each node and associated edge of the meta-model semantic network. For example, the semantic objects comprise business objects, documents, and business terminology.

At operation 808, the unique identifiers are used to compute information of cost and energy between the nodes. For example, the cost identifies a distance between semantic objects located in the contextual network graph. For example, the energy identifies how often a relationship between the nodes is used.

In one embodiment, the contextual network graph comprises a table having source object key data, target object key data, distance chain key data, level data, distance cost data, and distance energy data.

In one embodiment, the source object key includes a key of the object where the collection is placed. The target object key includes a key of the object which is the end/target of a particular relation chain. The distance chain key includes a cumulated string representing the relation chain. The level data identifies the length of a relation chain between nodes.

In another embodiment, the cost and energy between all nodes in the contextual network graph is pre-calculated prior to receiving a request to determine a cost and energy between a first and a second node within a predefined relationship level.

At operation 810, the information is stored in a meta-model semantic network database. In one embodiment, the information is stored in a memory-based database. The method 800 then ends at Operation 812.

FIG. 9 depicts a flow diagram of a general overview of a method 900 for determining existing relationships between objects in a meta-model semantic network, in accordance with another embodiment.

In an example embodiment, the method 900 may be implemented by the meta-model semantic network manager 110 included in the system 100 of FIG. 1.

Referring to FIG. 9, the method 900 for determining relationships between objects in a meta-model semantic network may begin at operation 902. Then, at operation 904, the meta-model semantic network manager 110 compresses unique identifiers of nodes and edges representing semantic objects and semantic relationships extracted from a meta-model of business objects from the meta-model semantic network.

At operation 906, the compressed unique identifiers are stored in a memory-based database.

At operation 908, the meta-model semantic network is used to pre-calculate the cost and energy between the nodes in the contextual network graph prior to receiving a request to determine a cost and energy between a first and a second node within a predefined relationship level. In another embodiment, the compressed unique identifiers are used to pre-calculate the cost and energy between the nodes. The cost and energy values are subsequently updated in the running system. For example, if the user very often uses a particular relation, then the energy may increase. If the experts determine that the business relations are closer, they may choose to reduce/adapt the cost.

At operation 910, strength of the relationships between business objects is determined based on the computed cost and energy of the nodes and edges from the contextual network graph.

At operation 912, a frequency of use of a business object is determined based on the computed cost and energy between the nodes of the contextual network graph. The method 900 ends at operation 914.

FIG. 10 depicts a flow diagram of a general overview of a method 1000 for optimizing a configuration setting of a system specific to a customer based on existing relationships between objects in a meta-model semantic network, in accordance with an example embodiment.

The business applications 606 (FIG. 6) provide their initial configuration and store and obtain data from the contextual network. The system measures the execution times and resources used and adds these as input elements to the FFNN. As output, the FFNN provides the optimized values of the configuration setting. After the settings are applied, the system observes the current actions/system performance, and in the next optimization cycle, uses this data as FFNN training data to calculate the next best settings.

The locally running access optimizer (e.g., local contextual network in customer system) is connected to the central, integration access optimizer and reports the current customization settings, measured values and FFNN data. The central access optimizer collects data from all systems and uses the data as learning examples (e.g., training-, cross-validation- and test-data) to optimize architecture and recalculate weights of the FFNN. This optimized net could be then transported and applied in the optimization round-trip. The integration manager that is part of the access optimization element supports the communication and consolidation task.

The method 1000 starts at operation 1002. At operation 1004, the registration manager 618 (FIG. 6) registers business applications operating in a contextual network of a server with registration data comprising a set of parameters to define the business applications.

At operation 1006, the configuration manager 620 determines initial configuration settings for the business applications defined by the set of parameters and identifies parts of the contextual network relevant to the business applications.

At operation 1008, the access manager 610 provides the business applications with access to contextual network data comprising semantic objects and -relations based on distances between nodes in a contextual network graph of the contextual network data.

At operation 1010, the access optimizer 612 collects measurements of the access of the business applications to the contextual network data. In another embodiment, the observation manager 706 (FIG. 7), which additionally may depict the performance of particular chains between specific object types (as mentioned before, the business application may define some performance chains).

At operation 1012, the optimization engine 708 computes future optimal configuration settings for the business applications based on the measurements using a feed-forward learning algorithm, and then the access optimizer 702 (as it encapsulates the optimization engine) provides the optimized configuration to the configuration manager 620. The method ends at operation 1014.

Because performance of the HANA platform and contextual network is an important element, the optimization task may be run as a separate process, e.g., as a background process. As such, the end-user request is processed very fast. If the business application (e.g., SAP business applications—ERP, CRM, SCM, etc.) and its business objects are the source of domain-oriented knowledge, the contextual network may clearly present its relation, e.g., similar product, customers, etc. This is the case if respective information is imported/transferred from business application to such defined contextual network.

FIG. 11 depicts a block diagram of a machine in the example form of a computing device 1100 within which may be executed a set of instructions for causing the machine to perform any one or more of the methodologies discussed herein. In alternative embodiments, the machine operates as a standalone device or may be connected (e.g., networked) to other machines. In a networked deployment, the machine may operate in the capacity of a server or a client machine in a server-client network environment, or as a peer machine in a peer-to-peer (or distributed) network environment.

The machine is capable of executing a set of instructions (sequential or otherwise) that specify actions to be taken by that machine. Further, while only a single machine is illustrated, the term “machine” shall also be taken to include any collection of machines that individually or jointly execute a set (or multiple sets) of instructions to perform any one or more of the methodologies discussed herein.

The example of the computing device 1100 includes a processor 1102 (e.g., a central processing unit (CPU), a graphics processing unit (GPU) or both), a main memory 1104 (e.g., random access memory), and static memory 1106 (e.g., static random-access memory), which communicate with each other via bus 1108. The computing device 1100 may further include video display unit 1110 (e.g., a plasma display, a liquid crystal display (LCD) or a cathode ray tube (CRT)). The computing device 1100 also includes an alphanumeric input device 1112 (e.g., a keyboard), a user interface (UI) navigation device 1114 (e.g., a mouse), a disk drive unit 1116, a signal generation device 1118 (e.g., a speaker), and a network interface device 1120.

The disk drive unit 1116 (a type of non-volatile memory storage) includes a machine-readable medium 1122 on which is stored one or more sets of data structures and instructions 1124 (e.g., software) embodying or utilized by any one or more of the methodologies or functions described herein. The data structures and instructions 1124 may also reside, completely or at least partially, within the main memory 1104 and/or within the processor 1102 during execution thereof by computing device 1100, with the main memory 1104 and processor 1102 also constituting machine-readable, tangible media.

The data structures and instructions 1124 may further be transmitted or received over a computer network 1150 via network interface device 1120 utilizing any one of a number of well-known transfer protocols (e.g., HyperText Transfer Protocol (HTTP)).

Certain embodiments are described herein as including logic or a number of components, modules, or mechanisms. Modules may constitute either software modules (e,g., code embodied on a machine-readable medium or in a transmission signal) or hardware modules. A hardware module is a tangible unit capable of performing certain operations and may be configured or arranged in a certain manner. In example embodiments, one or more computer systems (e.g., the computing device 1100) or one or more hardware modules of a computer system (e.g., a processor 1102 or a group of processors) may be configured by software (e.g., an application or application portion) as a hardware module that operates to perform certain operations as described herein.

In various embodiments, a hardware module may be implemented mechanically or electronically. For example, a hardware module may comprise dedicated circuitry or logic that is permanently configured (e.g., as a special-purpose processor, such as a field programmable gate array (FPGA) or an application-specific integrated circuit (ASIC)) to perform certain operations. A hardware module may also comprise programmable logic or circuitry (e.g., as encompassed within a general-purpose processor 1102 or other programmable processor) that is temporarily configured by software to perform certain operations. It will be appreciated that the decision to implement a hardware module mechanically, in dedicated and permanently configured circuitry, or in temporarily configured circuitry (e.g., configured by software) may be driven by cost and time considerations.

Accordingly, the term “hardware module” should be understood to encompass a tangible entity, be that an entity that is physically constructed, permanently configured (e.g., hardwired) or temporarily configured (e.g., programmed) to operate in a certain manner and/or to perform certain operations described herein. Considering embodiments in which hardware modules are temporarily configured (e.g., programmed), each of the hardware modules need not be configured or instantiated at any one instance in time. For example, where the hardware modules comprise a general-purpose processor 1102 configured using software, the general-purpose processor 1102 may be configured as respective different hardware modules at different times. Software may accordingly configure a processor 1102, for example, to constitute a particular hardware module at one instance of time and to constitute a different hardware module at a different instance of time.

Modules can provide information to, and receive information from, other modules. For example, the described modules may be regarded as being communicatively coupled. Where multiples of such hardware modules exist contemporaneously, communications may be achieved through signal transmission (e.g., over appropriate circuits and buses) that connect the modules. In embodiments in which multiple modules are configured or instantiated at different times, communications between such modules may be achieved, for example, through the storage and retrieval of information in memory structures to which the multiple modules have access. For example, one module may perform an operation and store the output of that operation in a memory device to which it is communicatively coupled. A further module may then, at a later time, access the memory device to retrieve and process the stored output. Modules may also initiate communications with input or output devices, and can operate on a resource (e.g., a collection of information).

The various operations of example methods described herein may be performed, at least partially, by one or more processors 1102 that are temporarily configured (e.g., by software) or permanently configured to perform the relevant operations. Whether temporarily or permanently configured, such processors 1102 may constitute processor-implemented modules that operate to perform one or more operations or functions. The modules referred to herein may, in some example embodiments, comprise processor-implemented modules.

Similarly, the methods described herein may be at least partially processor-implemented. For example, at least some of the operations of a method may be performed by one or more processors 1102 or processor-implemented modules. The performance of certain of the operations may be distributed among the one or more processors 1102, not only residing within a single machine, but deployed across a number of machines. In some example embodiments, the processors 1102 may be located in a single location (e.g., within a home environment, an office environment or as a server farm), while in other embodiments the processors 1102 may be distributed across a number of locations.

Again, the proposed embodiment uses a model of uniquely identified nodes which contains the pre-calculated relations to nodes in a defined relation level. The most time-consuming operation is performed directly before the contextual network graph is updated (i.e., before it is visible for the end-user); therefore the “reading” relation determination is very fast because the operation requires one select statement in the new memory-based databases (e.g., SAP HANA) that allows optimization/pre-compilation of conditional select statements.

Additionally, the uniqueness of nodes and relations allows the usage of hash values for particular elements/pieces which supports the calculation correlation chains. The uniqueness is strongly supported in the SAP HANA solution, which allows compression in memory of huge data amounts and very fast operations.

This model may quickly deliver the shortest, cheapest or most used (see energy calculation) relations between two nodes (e.g., business objects, documents, used terminology, etc.). If the business application (e.g., SAP business applications—ERP, CRM, SCM, etc.) and its business objects are the source of domain-oriented knowledge, the contextual network graph may clearly present their relation, e.g., similar product, customers, etc. (if respective information is imported/transferred from the business application to the contextual, network graph).

While the embodiment(s) is (are) described with reference to various implementations and exploitations, it will be understood that these embodiments are illustrative and that the scope of the embodiment(s) is not limited to them. In general, techniques for data searches using context information may be implemented with facilities consistent with any hardware system or hardware systems defined herein. Many variations, modifications, additions, and improvements are possible.

Plural instances may be provided for components, operations or structures described herein as a single instance. Finally, boundaries between various components, operations, and data stores are somewhat arbitrary, and particular operations are illustrated in the context of specific illustrative configurations. Other allocations of functionality are envisioned and may fall within the scope of the embodiment(s). In general, structures and functionality presented as separate components in the exemplary configurations may be implemented as a combined structure or component. Similarly, structures and functionality presented as a single component may he implemented as separate components. These and other variations, modifications, additions, and improvements fall within the scope of the embodiment(s). 

What is claimed is:
 1. A method comprising: registering business applications operating in a contextual network of a server with registration data comprising a set of parameters to define the business applications; using a processor of the server to determine initial configuration settings for the business applications defined by the set of parameters and to identify parts of the contextual network relevant to the business applications; providing the business applications with access to contextual network data comprising semantic objects and relations based on distances between nodes in a contextual network graph of the contextual network data; collecting measurements of the access of the business applications to the contextual network data; and computing future optimal configuration settings for the business applications based on the measurements using a feed-forward learning algorithm.
 2. The method of claim 1, further comprising: collecting data from other contextual network servers; and utilizing the collected data as learning examples to further improve configuration settings of other business applications.
 3. The method of claim 1, further comprising: computing the distances between nodes in a contextual network graph of the contextual network data; and measuring request data on all nodes and relations in the contextual network.
 4. The method of claim 3, further comprising: providing a meta-model semantic network comprising nodes and edges representing semantic objects and semantic relationships extracted from a meta-model of business objects from the meta-model semantic network; calculating information of cost and energy between the nodes; generating a unique identifier for each node and associated edge; and storing the unique identifier and the information in a meta-model semantic network database.
 5. The method of claim 1, further comprising: measuring environment data related to the server; collecting execution time and resource consumption of computations of distances between nodes and access to the contextual network data; operating the feed-forward learning algorithm, using the set of parameters, to observe optimized-relevant elements, and to calculate future optimal configuration settings for the business applications; and supporting integration of the contextual network with a central consolidation instance of the contextual network.
 6. The method of claim 5, further comprising: collecting a machine type, a central processing unit usage, memory consumption, a size of contextual network, and an optimization level.
 7. The method of claim 5, further comprising: collecting data from initial distance calculations, modification distance calculations, accesses to distance cache, and accesses to contextual network without cache.
 8. The method of claim 4, wherein the cost identifies a distance between semantic objects located in the contextual network graph, and the energy identifies how often a relationship between the nodes is used, and wherein the semantic objects comprise business objects, documents, and business terminology.
 9. The method of claim 4, further comprising: pre-calculating the cost and energy between all nodes in the contextual network graph prior to receiving a request to determine a cost and energy between a first and a second node within a predefined relationship level.
 10. The method of claim 4, wherein the contextual network graph comprises a table having source object key data, target object key data, distance chain key data, level data, distance cost data, and distance energy data, wherein the level data identifies a length of a relation chain between nodes.
 11. The method of claim 4, further comprising: using the calculated cost and energy between the nodes of the contextual network graph to determine a frequency of use of a business object; and using the calculated cost and energy of the nodes and edges from the contextual network graph to determine a strength of a relationship between business objects.
 12. The method of claim 4, further comprising: compressing the unique identifiers; storing the compressed unique identifiers in a memory-based database; and using the compressed unique identifiers to pre-calculate the cost and energy between all nodes in the contextual network graph prior to receiving a request to determine a cost and energy between a first and a second node within a predefined relationship level.
 13. An apparatus comprising: a registration manager module configured to register business applications operating in a contextual network of a server with registration data comprising a set of parameters to define the business applications; a configuration manager module configured to determine initial configuration settings for the business applications defined by the set of parameters to identify parts of the contextual network relevant to the business applications; an access manager module configured to provide the business applications with access to contextual network data comprising semantic objects and relations based on distances between nodes in a contextual network graph of the contextual network data; an access optimizer module configured to collect measurements of the access of the business applications to the contextual network data, and to compute future optimal configuration settings for the business applications based on the measurements using a feed-forward learning algorithm; and a storage device configured to store the future optimal configuration settings.
 14. The apparatus of claim 13, further comprising: a central consolidation server comprising an integration access optimizer configured to collect data from other systems with the access optimizer module and to utilize the collected data as learning examples to further improve the access optimizer module.
 15. The apparatus of claim 13, wherein the access manager module further comprises: a distance cache module configured to compute the distances between nodes in the contextual network graph of the contextual network data; and a full contextual network data module comprising request data on all nodes and relations in the contextual network.
 16. The apparatus of claim 15, wherein the distance cache module further comprises: a meta-model semantic network comprising nodes and edges representing semantic objects and semantic relationships extracted from a meta-model of business objects from the meta-model semantic network; and a contextual network graph generator coupled to the meta-model semantic network, the contextual network graph generator configured to calculate information of cost and energy between the nodes, to generate a unique identifier for each node and associated edge, and to store the unique identifier and the information in a meta-model semantic network database.
 17. The apparatus of claim 13, wherein the access optimizer module further comprises: a platform integration reporter configured to measure environment data related to the server; an observation manager configured to collect execution time and resource consumption of computations of distances between nodes and access to contextual network data; an optimization engine configured to operate the feed-forward learning algorithm using the set of parameters, to observe optimized-relevant elements, and to calculate the future optimal configuration settings for the business applications; and an integration manager configured to support integration of the contextual network with a central consolidation instance of the contextual network.
 18. The apparatus of claim 17, wherein the platform integration reporter is configured to collect a machine type, a central processing unit usage, memory consumption, a size of contextual network, and an optimization level.
 19. The apparatus of claim 17, wherein the observation manager is configured to collect data from initial distance calculations, modification distance calculations, accesses to distance cache, and accesses to the contextual network without cache.
 20. A non-transitory, computer-readable medium that stores instructions, which, when performed by a computer, cause the computer to perform operations comprising: registering business applications operating in a contextual network of a server with registration data comprising a set of parameters to define the business applications; determining initial configuration settings for the business applications defined by the set of parameters to identify parts of the contextual network relevant to the business applications; providing the business applications with access to contextual network data comprising semantic objects and relations based on distances between nodes in a contextual network graph of the contextual network data; and collecting measurements of the access of the business applications to the contextual network data, and computing future optimal configuration settings for the business applications based on the measurements using a feed-forward learning algorithm. 